import axios from "../../utils/axios";
import qs from "qs";
// http://www.lrfc.vip:8080/v1/user/reg

export const userReg = (payload) => {
  const url = "/v1/user/reg";
  return axios.post(url, qs.stringify(payload));
};

export const userLogin = (payload) => {
  const url = "/v1/user/login";
  return axios.post(url, qs.stringify(payload));
};
